import { ref } from 'vue';
import { defineStore } from 'pinia';
import { getproductsApi, getoutsourcingApi } from '@/api/tickets/index'

// 使用setup模式定义
export const apiDataStore = defineStore('apiData', () => {

  // 客户名称
  let customerList = ref([])

  // 部门
  let deptApiData = ref([])

  // 外协下拉
  let selectExternalDate = ref([])

  // 存货名称
  let stocksData = ref([])
 
  return {
    customerList,
    deptApiData,
    selectExternalDate,
    stocksData
  };
});